/*
 * tsk_enc.h
 *
 *  Created on: 06.05.2011
 *      Author: Meshkov Vladimir
 */

#ifndef TSK_ENC_H_
#define TSK_ENC_H_

typedef enum
{
	EEvent_CW,
	EEvent_CCW,
	EEvent_Click,
	EEvent_LongClick,
	EEvent_None
} xEncEvent;

typedef struct xENCMESSAGE
{
	int32_t iData;
	xEncEvent xEvent;
} xEncMessage;

void vStartEncoder( unsigned portBASE_TYPE uxPriority );

#endif /* TSK_ENC_H_ */
